package org.example.Service;

import org.example.DTO.OrderDTO;

import java.util.List;

public interface OrderDTOService {
    //查询全部的整个订单
    List<OrderDTO> selectOrdersDTO();
    //查询该id的整个订单
    OrderDTO selectOrdersDTOByID(Integer id);
    //添加整个订单
    void insertOrderDTO(OrderDTO orderDTO);
    //修改整个订单
    void updateOrderDTO(OrderDTO orderDTO);
    //删除整个订单
    void deleteOrderDTO(Integer id);
}
